package com.zx.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <h2>通用响应结果集</h2>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseCommon<T> {
    private Integer code;
    private String message;
    private T data;
    public ResponseCommon(Integer code, String message){
        this.code = code;
        this.message = message;
    }


    // Controller----> UserToken ---->ResponseCommon--->data

}
